package com.soft.cqlinglong.oto.web;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by huangxueqian@cqhilink.com on 2016/8/3.
 */
@Controller
public class BaseController {
    //不能用private：因为私有变量子类无法继承
    public Logger logger = LoggerFactory.getLogger(this.getClass());

    /**
     * 设置全局变量
     */
    public void common(ModelAndView modelAndView){

    }
    /**
     * 设置全局变量
     */
    public void common(HttpServletRequest request){

    }

}
